﻿/** 
 * Description:订单基本信息
 * Date:2011-7-12
 * Author:Along	
*/
package com.community.shopping.domain;

import java.util.List;

public class Order {
	 /**
	  * 订单ID
	  */
	  private Integer id;	  
	  /**
	   * 分店标识
	   */
	  private Integer shopId;	
	  /**
	   * 订单编号
	   */
	  private String orderNo;
	  /**
	   * 总价格
	   */
	  private float totalPrice=0;
	  /**
	   * 总成本
	   */
	  private float costTotalPrice=0;
	  /**
	   * 收货人
	   */
	  private String receiveUser;
	  /**
	   * 收货地址
	   */
	  private String receiveAddress;
	  /**
	   * 收货人联系方式
	   */
	  private String receiveContact;
	  /**
	   * 收货时间
	   */
	  private String receiveTime;
	  /**
	   * 描述
	   */
	  private String description;
	  /**
	   * 状态  0:取消  5:下达 10:拣货中 15:配送中 20:已完成
	   */
	  private Integer status;
	  /**
	   * 创建时间
	   */
	  private String createDate;
	  /**
	   * 订购人
	   */
	  private User orderUser;
	  /**
	   * 积分兑换花费的积分
	   */
	  private Integer score=0;
	  /**
	   * 运费
	   */
	  private Integer yfPrice=0;	
	
	  /**
	   * 订购物品列表
	   */
	  private List<OrderItem> orderList;
	  /**
		* 是否评论 0:未评论 1:已评论
		*/
	private Integer ifComment;
	/**
	 * @return the ifComment
	 */
	public Integer getIfComment() {
		return ifComment;
	}

	/**
	 * @param ifComment the ifComment to set
	 */
	public void setIfComment(Integer ifComment) {
		this.ifComment = ifComment;
	}

	/**
	 * @return the receiveAddress
	 */
	public String getReceiveAddress() {
		return receiveAddress;
	}
   
	/**
	 * @param receiveAddress the receiveAddress to set
	 */
	public void setReceiveAddress(String receiveAddress) {
		this.receiveAddress = receiveAddress;
	}
	/**
	 * @return the receiveContact
	 */
	public String getReceiveContact() {
		return receiveContact;
	}
	/**
	 * @param receiveContact the receiveContact to set
	 */
	public void setReceiveContact(String receiveContact) {
		this.receiveContact = receiveContact;
	}
	/**
	 * @return the receiveTime
	 */
	public String getReceiveTime() {
		return receiveTime;
	}
	/**
	 * @param receiveTime the receiveTime to set
	 */
	public void setReceiveTime(String receiveTime) {
		this.receiveTime = receiveTime;
	}
	/**
	 * @return the receiveUser
	 */
	public String getReceiveUser() {
		return receiveUser;
	}
	/**
	 * @param receiveUser the receiveUser to set
	 */
	public void setReceiveUser(String receiveUser) {
		this.receiveUser = receiveUser;
	}
	/**
	 * @return the createDate
	 */
	public String getCreateDate() {
		return createDate;
	}
	/**
	 * @param createDate the createDate to set
	 */
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the orderList
	 */
	public List<OrderItem> getOrderList() {
		return orderList;
	}
	/**
	 * @param orderList the orderList to set
	 */
	public void setOrderList(List<OrderItem> orderList) {
		this.orderList = orderList;
	}
	/**
	 * @return the orderNo
	 */
	public String getOrderNo() {
		return orderNo;
	}
	/**
	 * @param orderNo the orderNo to set
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	/**
	 * @return the orderUser
	 */
	public User getOrderUser() {
		return orderUser;
	}
	/**
	 * @param orderUser the orderUser to set
	 */
	public void setOrderUser(User orderUser) {
		this.orderUser = orderUser;
	}
	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	  /**
	 * @return the score
	 */
	public Integer getScore() {
		return score;
	}
	/**
	 * @param score the score to set
	 */
	public void setScore(Integer score) {
		this.score = score;
	}
	/**
	 * @return the yfPrice
	 */
	public Integer getYfPrice() {
		return yfPrice;
	}
	/**
	 * @param yfPrice the yfPrice to set
	 */
	public void setYfPrice(Integer yfPrice) {
		this.yfPrice = yfPrice;
	}

	/**
	 * @return the totalPrice
	 */
	public float getTotalPrice() {
		return totalPrice;
	}

	/**
	 * @param totalPrice the totalPrice to set
	 */
	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}

	/**
	 * @return the costTotalPrice
	 */
	public float getCostTotalPrice() {
		return costTotalPrice;
	}

	/**
	 * @param costTotalPrice the costTotalPrice to set
	 */
	public void setCostTotalPrice(float costTotalPrice) {
		this.costTotalPrice = costTotalPrice;
	}

	/**
	 * @return the shopId
	 */
	public Integer getShopId() {
		return shopId;
	}

	/**
	 * @param shopId the shopId to set
	 */
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	
}
